#!/bin/bash

server=$1
user=$2
localfile=$3
remotefile=$4
keyfile=$5

scp -i ${keyfile} ${localfile} ${user}@${server}:"${remotefile}"